#冒泡排序
def boubleSort(list):
    for i in range(len(list)-1):
        if list[i] > list[i+1]:
            list[i], list[i+1] = list[i+1],list[i]
    return list
list1 = [1,3,4,5,6,7,8,9,10]
print(boubleSort(list1))